package com.fire.control.system.module.device.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fire.control.system.entity.DeviceType;
import com.fire.control.system.module.device.dao.DeviceTypeMapper;
import com.fire.control.system.module.device.service.DeviceTypeService;

@Service
public class DeviceTypeServiceImpl implements DeviceTypeService{

	@Autowired DeviceTypeMapper deviceTypeMapper;
	
	public List<DeviceType> getDeviceTypeList(){
		return deviceTypeMapper.getDeviceTypeList();
	}
	
	
	public DeviceType getDeviceTypeById(String id){
		return deviceTypeMapper.getDeviceTypeById(id);
	}
	
}
